from selenium.webdriver.common.by import By
from selenium.webdriver import ActionChains
import time


def addUser(wd):
    wd.find_element(By.XPATH,'/html/body/div[2]/div[7]/div[2]/div[3]/a').click()
    time.sleep(2)
    # 疫情确认
    print(疫情确认)
#     wd.find_element(By.XPATH,'//*[@id="cylianxiren"]/a').click()
#     # 乘车人
#     print(乘车人)

#     wd.find_element(By.XPATH,'//*[@id="add_contact"]').click()
#     # 添加
#     print(添加)

#     element = wd.find_element(By.XPATH,'//*[@id="name"]')
#     element.send.keys('潘彧')
#     element = wd.find_element(By.XPATH,'//*[@id="cardCode"]')
#     element.send.keys('320586199909268010')
#     element = wd.find_element(By.XPATH,'//*[@id="mobileNo"]')
#     element.send.keys('15195680952')
#     wd.find_element(By.XPATH,'//*[@id="save_btn"]').click()
#     # 保持按钮
#     wd.find_element(By.XPATH,'//*[@id="pop_163981365755542040"]/div[2]/div[3]/a').click()
#     # 添加成功确认按钮

# if __name__ == '__main__':
#     print('test')